﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Actuals.CoreDomain.Business
{
    public interface IBusinessSprint
    {
        ISprint GetSprint(int sprintId);
        ISprint GetSprintWithRelease(int sprintId, int releaseId);
        IList<ISprint> GetSprints(int projectId, int releaseid);
       // IList<ISprint> GetCurrentSprints(int projectId, int releaseid);
        ISprint GetSprintWithSprintId(int sprintId);
        IList<ISprint> GetNextSprints(int sprintId,int projectId, int releaseId);
       // IList<ISprint> GetCurrentSprints(int projectId, int releaseid);
       
        int AddSprint(ISprint sprint);
        int DeleteSprint(int sprintId);
       
        void UpdateInCompleteTechTaskToNextSprint(int sprintId, int nextSprint);
        //int GetInCompleteTaskCountForSprint(int sprintId);
        ISprint GetCurrentSprint(int projectId, int releaseId);
        IList<ISprint> GetSprintsWithoutCurrentSprint(int projectId, int releaseId);
    }
}
